<!DOCTYPE html>
<head>
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
	<!-- 微信强制清除缓存-->
	<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="0" />
	<!---->
	<meta charset="UTF-8">
	<!--<link rel="icon" type="text/css" href=""/>-->
	<link rel="stylesheet" href="../lib/css/bootstrap.min.css" />
	<link rel="stylesheet" href="../css/base.css" />
	<link rel="stylesheet" href="../css/shopcar.css" />
	<style>
	</style>
</head>
<body>
	<div class="titleTea">
		<a href="#"><span class=""></span></a>
		<h3>购物车</h3>
	</div>
	<div class="shopList">
		<!-- 一个商户的 -->
		<!-- <div class="oneShop"> -->
			<!-- <div class="shopTitle">
				<div class="zuokuan">
					<input type="checkbox" name="iCheck" class="inputone">
				</div>
				<div class="youkuan">
					<h2>
					一桶水什么的店
					</h2>
					<button class="edit">
					编辑
					</button>
				</div>
			</div> -->
			<!-- 商品列表 -->
			<!-- <div class="iscroll goodsList">
				<ul>
					<li>
						<div class="oneGoogs">
							<div class="zuokuan">
								<input type="checkbox" class="inputtwo">
							</div>
							<dl>
								<dt>
								<img src=""/>
								</dt>
								<dd>
								<div class="Left">
									<h2>高山绿茶</h2>
									<h3>100g</h3>
									<h3 class="red">100</h3>
								</div>
								<div class="center">
									<input type="button" value="-" class="btnan" datanumber="-1"/>
									<span class="text">5</span>
									<input type="button" value="+" class="btnan" datanumber="1"/>
								</div>
								<div class="Right">
									<button class="del">删除</button>
								</div>
								</dd>
							</dl>
						</div>
					</li> -->
					<!-- 一件商品 -->
			<!-- 	</ul>
			</div> -->
		<!-- </div> -->
	</div>
	<div class="foot">
		<h2 >合计：<span class="sum">0</span></h2>
		<button class="settle">结算</button>
	</div>
	<div class="areYouSure">
		<div class="headS">
			确定删除？
		</div>
		<div class="footS">
			<button class="sureS">确定</button>
			<button class="cancel">取消</button>
		</div>
	</div>
	<!-- 底部导航 -->
	<div class="teaNav container-fluid">
		<div class="row">
			<div class="home col-xs-4">
				<a href="../index.html"><span class="glyphicon glyphicon-home"></span><span>首页</span></a>
			</div>
			<div class="car col-xs-4">
				<a href="shop_car.html"><span class="glyphicon glyphicon-shopping-cart"></span>
				<span>购物车</span>
			</a>
		</div>
		<div class="myself col-xs-4">
			<a href="myself.html"><span class="glyphicon glyphicon-user"></span><span>我的</span></a>
		</div>
	</div>
</div>
</body>
</html>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="../lib/js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="../lib/js/bootstrap.min.js"></script>
<script src="../lib/template/template-native.js"></script>
<script type="text" id="shopCar">
	<%for( var i=0;i<car.sing.goods.length;i++){%>
		<div class="oneShop">
			<div class="shopTitle" data-seller_id="<%= car.sing.goods[i].seller_id%>">		
				<div class="zuokuan">
						<input type="checkbox" name="iCheck" class="inputone">
				</div>
				<div class="youkuan" >
			<a href="#" data-seller_id=<%= car.sing.goods[i].seller_id%> >
						<h2 class="shops"  data-seller_id="<%= car.sing.goods[i].seller_id%>">
						<%= car.sing.goods[i].shop_name%>
						</h2>
					</a>
					<button class="edit">
						编辑
					</button>
				</div>
			</div>
			
			<div class="iscroll goodsList" data-number=<%=car.sing.goods.length %>>
				<ul data-num=<%=car.sing.goods[i].goodsList.length%>>
					<%for (var j = 0; j < car.sing.goods[i].goodsList.length; j++) {%>
						<li data-goods_id="<%=car.sing.goods[i].goodsList[j].goods_id%>">
								<div class="oneGoogs">
									<div class="zuokuan">
										<%if (car.sing.goods[i].goodsList[j].is_pay==1) {%>
											<input type="checkbox" class="inputtwo" checked="checked">
											<%}else{%>
											<input type="checkbox" class="inputtwo">
											<%}%>
									</div>
									<dl>
											<dt>
											<img src=<%=car.sing.goods[i].goodsList[j].goods_thumb%>>
											</dt>
											<dd>
											<div class="Left">
													<h2 class="goods" data-goods_id="<%=car.sing.goods[i].goodsList[j].goods_id%>"><%=car.sing.goods[i].goodsList[j].goods_name%></h2>
													<h3><%=car.sing.goods[i].goodsList[j].goods_heft%>g</h3>
													<h3 class="red"><%=car.sing.goods[i].goodsList[j].shop_price%></h3>
											</div>
											<div class="center">
													<input type="button" value="-" class="btnan" datanumber="1"/>
													<span class="text"><%=car.sing.goods[i].goodsList[j].goods_number%></span>
													<input type="button" value="+" class="btnan" datanumber="2"/>
											</div>
											<div class="Right">
													<button class="del">删除</button>
											</div>
											</dd>
									</dl>
							</div>
						</li>
					<%};%>
				</ul>
			</div>
		</div>
	<%}%>
</script>
<script src="../script/shop-car.js"></script>
<script src="../script/rem.js"></script>